package com.bupt.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.persistence.*;
import java.sql.Timestamp;

@Data
@ToString
@Entity
@Table(name = "device_t", schema = "dev", catalog = "")
public class Device {
    @Id
    private Integer deviceId;
    @ApiModelProperty("设备名称" )
    private String deviceName;
    @ApiModelProperty("设备类型ID" )
    private int deviceTypeId;
    private Timestamp creatTime;
    private Integer areaId;
    private int status;
    private Timestamp statusTime;
    private int channelNum;
    @ApiModelProperty("经度" )
    private String longitude;
    @ApiModelProperty("纬度" )
    private String latitude;
    private int brokenStatus;

}
